<head>
    <meta charset="UTF-8">
    <title>Promise 封装 AJAX</title>
    <link crossorigin="anonymous" href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css"
        rel="stylesheet">
</head>
</head>

<body>
    <div class="container">
        <h2 class="page-header">Promise 封装 AJAX 操作</h2><button class="btn btn-primary">点击发送 AJAX</button>
    </div>
    <script>
        //接口地址 https://api.ppiopen.top/getJoke
    </script>
</body>

</html>